/*
 *  scoreBoard - VideoController.h
 *  Copyright 2011 W. Reckman. All rights reserved.
 */
#ifndef VIDEO_CONTROLLER_H
#define VIDEO_CONTROLLER_H

#include "ofxAlphaVideoPlayer.h"

class ScoreBoardApp;
class Settings;

//NOTE: uncomment this to force viewport dimensions to 4x3 ratio
#define FORCE_VIEWPORT_4_TO_3


class VideoController {
public:
	VideoController( const ScoreBoardApp& appRef_ );
	~VideoController();
	
	void setup();
	void update( float balance_ );
	void draw() const;
	
private:
	Settings& s;
	const ScoreBoardApp& appRef;
	
	ofxAlphaVideoPlayer* video;
	
	bool videoHasMirror;
	float videoBalanceWindow;
};

#endif /* ! VIDEO_CONTROLLER_H */
